package com.example.shixun.dao;

import com.example.shixun.pojo.Post;
import com.example.shixun.pojo.Question;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author XDW
 * @Version 1.0
 * @date 2023/6/24 15:53
 */
@Mapper
public interface QuestionDao {
    Integer saveQuestion(Question question);
    Integer deleteQuestionById(int id);
    Question selectQuestionById(int id);
    Integer updateQuestion(Question question);
}
